Release 10.1A: OpenEdge Development:
Web Services


Running an internal procedure or user-defined function

The following shows how you might invoke the GetTotalOrdersByNumber( ) method on the ProcObject to run a user-defined function:

' Run the user-defined function GetTotalOrdersByNumber in  
‘ CustomerOrder.p on the AppServer 
intResult = WS_custOrder.GetTotalOrdersByNumber(1000000.0) 

Note: The CustomerOrderIDValue is automatically inserted in the SOAP request header by the interface.

Methods for running an internal procedure are essentially the same as those for running a user-defined function.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095